package com.web.base.open.model;

import com.blue.jdbc.annotation.GeneratorType;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;
import com.blue.jdbc.annotation.Transient;

/**
 * 开放平台角色-链接实体类
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年02月27日
 */
@Table(name = "open_role_url")
public class RoleUrl
{
	@Id(generator = GeneratorType.ASSIGNED)
	private Integer roleId; // 角色编号
	@Id(generator = GeneratorType.ASSIGNED)
	private Integer urlId; // 链接编号

	@Transient
	private String urlIds; // 链接ID列表
	@Transient
	private String url; // URL

	public RoleUrl()
	{
	}

	public RoleUrl(Integer roleId, Integer urlId)
	{
		this.roleId = roleId;
		this.urlId = urlId;
	}

	public Integer getRoleId()
	{
		return this.roleId;
	}

	public void setRoleId(Integer roleId)
	{
		this.roleId = roleId;
	}

	public Integer getUrlId()
	{
		return this.urlId;
	}

	public void setUrlId(Integer urlId)
	{
		this.urlId = urlId;
	}

	public String getUrlIds()
	{
		return urlIds;
	}

	public void setUrlIds(String urlIds)
	{
		this.urlIds = urlIds;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

}
